package com.hntky.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.sun.org.apache.xpath.internal.operations.Bool;
import lombok.Data;

/**
 * 
 * @TableName t_patient
 */
@TableName(value ="t_patient")
@Data
public class Patient implements Serializable {
    /**
     * 病历号
     */
    @TableId(value = "pid", type = IdType.AUTO)
    private Integer pid;

    /**
     * 病人姓名
     */
    @TableField(value = "pname")
    private String pname;

    /**
     * 病人性别
     */
    @TableField(value = "pgender")
    private String pgender;

    /**
     * 病人年龄
     */
    @TableField(value = "page")
    private String page;

    /**
     * 是否康复
     */
    @TableField(value = "status")
    private Boolean status;

    /**
     * 病房号
     */
    @TableField(value = "sickroomId")
    private Integer sickroomid;

    /**
     * 医生编号
     */
    @TableField(value = "doctorId")
    private Integer doctorid;

    /**
     * 病人血型
     */
    @TableField(value = "pblood")
    private String pblood;

    /**
     * 确诊结果
     */
    @TableField(value = "pdiagnostic")
    private String pdiagnostic;

    /**
     * 科室号
     */
    @TableField(value = "sectorId")
    private Integer sectorid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private String room;

    @TableField(exist = false)
    private String doctor;

    @TableField(exist = false)
    private String sector;
}